/*
 * @Author: liu.lin liu.lin@hzleaper.com
 * @Date: 2024-03-27 13:31:23
 * @LastEditors: liu.lin liu.lin@hzleaper.com
 * @LastEditTime: 2024-03-27 14:43:04
 * @FilePath: \nest_temp\src\middleware\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Injectable, NestMiddleware } from '@nestjs/common';
import { Request, Response, NextFunction } from 'express';

@Injectable()
export class Loggers implements NestMiddleware {
  use(req: Request, res: Response, next: NextFunction) {
    // console.log(`我来了哈哈`);
    // res.send({
    //   msg: '我拦截了',
    // });

    next();
  }
}
